﻿using OccurrencesCore.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OccurrencesCore.Repository
{
    public partial class CompetenceParametersRepository
    {
        public List<CompetenceParameters> FindBasedOnInitialValue(double value)
        {
            return _Repository.Where(parameter => parameter.InitialValue >= value && parameter.FinalValue <= value).ToList();
        }
    }
}
